package model.dao;

import java.util.List;

import model.bo.Manager;

public interface IManagerDAO {

	// property constants
	public static final String ADMINNAME = "adminname";

	public static final String ADMINPASS = "adminpass";

	public static final String LOGINIP = "loginip";

	public abstract void save(Manager transientInstance);

	public abstract void delete(Manager persistentInstance);

	public abstract Manager findById(java.lang.Integer id);

	public abstract List findByExample(Manager instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findByAdminname(Object adminname);

	public abstract List findByAdminpass(Object adminpass);

	public abstract List findByLoginip(Object loginip);

	public abstract List findAll();

	public abstract Manager merge(Manager detachedInstance);

	public abstract void attachDirty(Manager instance);

	public abstract void attachClean(Manager instance);

}